home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Hyper
/
S-Sh
/
ScrollControl.cpt
/
ScrollControl XCMD
/
card_6558.txt
< prev
next >
Wrap
Text File
|
1989-04-22
|
1KB
|
51 lines
-- card: 6558 from stack: in
-- bmap block id: 0
-- flags: 0000
-- background id: 6159
-- name:
-- part 2 (button)
-- low flags: 00
-- high flags: A002
-- rect: left=183 top=171 right=193 bottom=283
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Install
----- HyperTalk script -----
on mouseUp
get FileName("STAK")
if it is not empty then
pasteScroll it
else
Alert 2,1,"Installation Canceled"
set cursor to 1
end if
end mouseUp
on pasteScroll yourStack
put the value of word 2 of long name of this stack into thisStack
put the short name of yourStack into labelforAlert
put "Install the ScrollControl XCMD into " & quote & labelforAlert & quote & " ?" into alertText
Alert 2,3,alertText
if the result is 1 then
rescopy thisStack,yourStack,"XCMD","ScrollControl"
Alert 2,1,"Installation Complete"
set cursor to 1
else
Alert 2,1, "Installation Cancelled"
set cursor to 1
end if
end pasteScroll
-- part contents for background part 6
----- text -----
Click on the button below to install the “ScrollControl” XCMD into a stack. You’ll be prompted for a stack name. After confirming your selection, the button will use the ResCopy XCMD to install the XCMD and into that stack.